import 'package:json_annotation/json_annotation.dart';
part 'recipe_user_info_api.g.dart';

@JsonSerializable()
class RecipeUserInfoApi {
  final String id;
  final bool isLike;
  final bool isCollect;

  factory RecipeUserInfoApi.fromJson(Map<String, dynamic> json) =>
      _$RecipeUserInfoApiFromJson(json);

  RecipeUserInfoApi({
    required this.id,
    required this.isLike,
    required this.isCollect,
  });
}
